package com.seecen.myspringboot.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @TableName T_BOOK
 */
@Data
@TableName("T_BOOK")
public class Book implements Serializable {
    @TableId
    private Integer bookId;

    private String bookName;

    @TableField(exist = false)
    private BookCategory bookCategory;

    private static final long serialVersionUID = 1L;
}